-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Adjust text resource input component for input table #14151
refactor: Adjust text resource input component for input table #14151
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14151 +/- ##
=======================================
Coverage 95.45% 95.46%
=======================================
Files 1803 1803
Lines 23494 23505 +11
Branches 2719 2719
=======================================
+ Hits 22427 22438 +11
Misses 813 813
Partials 254 254 ☔ View full report in Codecov by Sentry. |
312c300
to
c3b9799
Compare
c3b9799
to
5adbb9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vanskelig å finne noe å ta tak i her! 🤩
I tillegg til de ubetydelige kommentarene mine, som du bare må lukke om du ikke ønsker å ta stilling til, så tenkte jeg bare å informere om at når jeg åpner koden i Rider hos meg så får jeg masse typefeil som dette:
Type Element is not assignable to type
ReactElement<any, string | JSXElementConstructor<any>
og
Type Element is not assignable to type
string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal
Property children is missing in type Element but required in type ReactPortal
index.d.ts(378, 9): children is declared here
Godt mulig det bare er typescript som ikke er konfigurert godt nok hos meg tho.
EDIT: Måtte oppdatere Rider 😉
Description
The
StudioInputTable
component reqiures its subcomponents to forward refs and to accept native props for input elements. It will also be necessary to set a class name for the different subcomponents ofStudioTextResourceInput
. This pull request adds this functionality to theStudioTextResourceInput
component, so that we can create aStudioInputTable.Cell.TextResource
component from it.Related Issue(s)
Verification